Linux – Find an application as part of packages

For example, you need to know which package includes the utility “mkpasswd” CentOS: Result: Deb systems: First you need to install the package “apt-file” We also search for the utility “mkpasswd“: Result: